//
//  NSString+size.h
//  test
//
//  Created by john on 15/7/17.
//  Copyright (c) 2015年 john. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface NSString (size)
-(CGSize)caculateSizeWithFont:(UIFont *)fnt MaxSize:(CGSize)maxSize;
//str 要测算的字符串
//size 字符串的尺寸
-(CGSize)sizeWithFnt:(UIFont *)font;

#pragma mark-返回md5加密的字符串
-(NSString *)md5;
@end
